﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Database_connect
{
    class MsSqlConnection : DatabaseConnection

    {
        public MsSqlConnection(string connectionStr, TimeSpan timeout):base(connectionStr, timeout)
        {

        }

        override public void OpenConnection()
        {
            Console.WriteLine("Connection established");
        }

        override public void CloseConnection()
        {
            Console.WriteLine("Disconnected");
        }
    }
}
